home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#23 (Aug 87)
/
Dont panic source
/
DON'T PANIC.h
< prev
next >
Wrap
Text File
|
1990-01-01
|
1KB
|
39 lines
/* this is the header file for all the good id on the dialog window */
#include "Appletalk.h"
#define ERRDLOG_ID 129 /* the error dialog */
#define DIALOG_ID 128
#define LOOKB 1
#define DISPLAYB 2
#define SENDB 3
#define RECM 10 /* static field for received message */
#define MYNODE 11 /* the name according to chooser */
#define CNODEIS 12 /* THE NAME OF THE CURRENT SELECTED NODE */
#define CNODENUM 13 /* current device selected */
#define NUMBER 14 /* NUMBER OF NODES&SOCKETS on zone now */
#define SENDM 15 /* THE EDIT FIELD OF SEND THIS MESSAGE */
#define MYNUM 17 /* THE NODE NUMBER I AM */
#define ERRMESS 1 /* FOR USE IN THE ERROR DIALOG */
#define NIL 0L /* a nil pointer */
#define PortBUse 0x291
#define SPConfig 0x1FB
#define MYSOCKET 0 /* 0 is on the fly allocatios */
#define ASYNC 1
#define SYNC 0
#define useFree 0
#define useATalk 1
#define useAsync 2
typedef struct CurEntity
{
AddrBlock CurAddrs;
EntityName CurName;
} CurEntity;